package com.example.demo2.mapper;

import com.example.demo2.entity.Content;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.sql.Timestamp;
import java.util.List;

@Mapper
@Repository
public interface ContentMapper {

    List<Content> findContentAll();

    List<Content> findByProCode(Integer proCode);

    List<Content> findByProName(String proName);

    boolean insertAudit(Integer userId, String userName, Timestamp userLoginTime,Timestamp userExitTime);

}